<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    div{
        /* 设置盒子模型为边框盒子  */
        box-sizing: border-box;
        width: 100px;
        height: 100px;
        background-image: radial-gradient(red,yellow,pink);
        margin: 12px 29px 36px 24px;
        padding: 18px 33px 21px 16px;
        border: 1px solid red;
    }
</style>
<body>
    <div>边框盒子</div>
</body>
</html>